package com.adee.gulimall.product.dao;

import com.adee.gulimall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 * 
 * @author adee
 * @email 609980188@qq.com
 * @date 2022-08-19 16:28:50
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

    List<AttrEntity> getListNo(@Param("catelogId") Long catelogId, @Param("map") Map<String, Object> params);

    int getListNoTotalCnt(@Param("catelogId") Long catelogId, @Param("map") Map<String, Object> map);
}
